package com.icode.service.house;

import com.icode.core.dto.house.MyHouseDTO;
import com.icode.core.dto.house.RentDTO;
import com.icode.core.model.user.User;

import java.util.List;

/**
 * Created with IntelliJ IDEA.
 * User: xianfei
 * Date: 15-9-16
 * Time: 上午10:41
 * To change this template use File | Settings | File Templates.
 */
public interface MyHouseService {

    List<MyHouseDTO> findMyHouse(User user);

    List<MyHouseDTO> findMyChangeHouse(User user);

    List<MyHouseDTO> findMyTransferHouses(User user);

    MyHouseDTO findMyHouseByGuid(String myHouseByGuid);

    void initRent(String myHouseGuid, String price, String days, String description);

    String changeMyHouseStatus(String rentGuid);

    void myHouserToAssigmnent(String myHouseGuid);

    List<MyHouseDTO> findMyHouseisToAssignmnet();

    List<MyHouseDTO> findMyHouseByCondition(String area, String week, String theme);

    List<MyHouseDTO> findMyHouseByUsername(String username);

    List<MyHouseDTO> findMyExChangeHouseByUsername(String username);

    List<MyHouseDTO> findMyExChangingHouseByUsername(String username);
}
